//
//  SQRechargeCell.h
//  pai
//
//  Created by pro on 14-12-1.
//  Copyright (c) 2014年 linjunjing. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol rechargeDelegate <NSObject>

- (void) dorecharge: (NSString*)price withType:(NSString*)type;

@end

@interface SQRechargeCell : UIView<UITextFieldDelegate>

@property NSString* paytype;
@property id<rechargeDelegate> delegate;

@property (weak, nonatomic) IBOutlet UILabel *accountLabel;
@property (weak, nonatomic) IBOutlet UILabel *mobileLabel;
@property (weak, nonatomic) IBOutlet UITextField *moneyLabel;

@property (weak, nonatomic) IBOutlet UIView *alipayView;
@property (weak, nonatomic) IBOutlet UIView *wechatpayView;
@property (weak, nonatomic) IBOutlet UIView *bankpayView;

- (IBAction)doActionClickMoneyBtn:(id)sender;
- (IBAction)doActionPay:(id)sender;

+(SQRechargeCell*)initmyview;
-(void)initPayType;
@end
